﻿//*****************************************************************************
//** Project:PatternWell.PAC
//** Copyright 2011 PatternWell LLC
//** Revision History:
//** Version 1.0 - Initial Release
//*****************************************************************************

namespace PatternWell.PAC
{
    /// <summary>
    /// Base implementation all views must support
    /// </summary>
    public interface IViewResource : IResource
    {
        /// <summary>
        /// Helper method that will run additional initialization logic after the view has already been created.
        /// </summary>
        void InitializeView();

        /// <summary>
        /// Helper method that will inform the view that it should detach event handlers and should reinitialize the view model.
        /// </summary>
        void DetachViewResources();
    }
}
